<?php
/**
 * @package Buffet
 * @subpackage API
 */

// Remove existing actions
remove_action('wp_head', 'pagenavi_css');
remove_action('wp_head', 'wp_generator');

// Override WordPress Filters
add_filter('gallery_style', 'remove_gallery_css');
if ( !is_admin() ) add_action('wp_print_scripts', 'bf_load_scripts', 70);

// WordPress MU / BuddyPress Specific Hooks
if ( bf_detect_wpmu() ) {
	add_action('wpmu_options', 'bf_wpmu_options_form');
	add_action('update_wpmu_options', 'bf_wpmu_update_options');
}

// Admin Actions
if ( is_admin() && (!defined('BF_DISABLE_ADMIN') || !BF_DISABLE_ADMIN) ) {
	add_action('admin_menu', 'bf_addmenu');
}

// Launcher Action Hook
do_action('bf_launcher_init');

/* End of file launcher.php */
/* Location: ./includes/launcher.php */
